package routes

import (
	"main/middleware"
	"main/services"

	"github.com/gin-gonic/gin"
)

func RegisterQueryRoutes(router *gin.Engine) {
	protected := router.Group("/easymonitor/query")
	protected.Use(middleware.AuthMiddleware())
	{
		protected.GET("/", services.QueryHandler) // 查询数据
	}
}
